package tanx

import (
	"github.com/bububa/opentaobao/core"
	"github.com/bububa/opentaobao/model/tanx"
)

// TaobaoTanxQualificationPictureUpload 资质图片上传接口
// taobao.tanx.qualification.picture.upload
//
// 资质图片上传接口
func TaobaoTanxQualificationPictureUpload(clt *core.SDKClient, req *tanx.TaobaoTanxQualificationPictureUploadAPIRequest, session string) (*tanx.TaobaoTanxQualificationPictureUploadAPIResponse, error) {
	var resp tanx.TaobaoTanxQualificationPictureUploadAPIResponse
	err := clt.Post(req, &resp, session)
	if err != nil {
		return nil, err
	}
	return &resp, nil
}
